import math

radius = float(input("请输入圆的半径: "))

area = math.pi * radius ** 2

diameter = 2 * math.pi * radius

print("圆的面积为: ",area)
print("圆的直径为: ",diameter)